package models

import "time"

type Quality struct {
	Id         int64     `json:"id"`
	ProId      string    `json:"proId" gorm:"水库ID"`
	DeviceId   string    `json:"deviceId" gorm:"设备编码"`
	DataName   string    `json:"dataName" gorm:"监测项"`
	DataValue  string    `json:"dataValue" gorm:"监测值"`
	DataTime   time.Time `json:"dataTime" gorm:"数据时间"`
	CreateTime string    `json:"createTime" gorm:"数据入库时间"`
}

func (Quality) TableName() string {
	return "big_water_quality_ml"
}
